package com.ruiysoft.service.logistics;

import com.ruiysoft.entity.logistics.LogisticsShopApiConf;

public interface ILogisticsSubscribe {

    default LogisticsSubscribeMQVO createMQVO(Long shopID,LogisticsShopApiConf logisticsShopApiConf,String expressCom,String expressNO){
        return new LogisticsSubscribeMQVO(shopID,logisticsShopApiConf,expressCom,expressNO);
    }

    void push2MQ(Long shopID,LogisticsShopApiConf logisticsShopApiConf,String expressCom,String expressNO);


    class LogisticsSubscribeMQVO{
        private LogisticsShopApiConf logisticsShopApiConf;
        private Long shopID;
        private String expressCom;
        private String expressNO;

        public LogisticsSubscribeMQVO() {
        }

        public LogisticsSubscribeMQVO(Long shopID,LogisticsShopApiConf logisticsShopApiConf, String expressCom, String expressNO) {
            this.shopID = shopID;
            this.logisticsShopApiConf = logisticsShopApiConf;
            this.expressCom = expressCom;
            this.expressNO = expressNO;
        }

        public Long getShopID() {
            return shopID;
        }

        public void setShopID(Long shopID) {
            this.shopID = shopID;
        }

        public LogisticsShopApiConf getLogisticsShopApiConf() {
            return logisticsShopApiConf;
        }

        public void setLogisticsShopApiConf(LogisticsShopApiConf logisticsShopApiConf) {
            this.logisticsShopApiConf = logisticsShopApiConf;
        }

        public String getExpressCom() {
            return expressCom;
        }

        public void setExpressCom(String expressCom) {
            this.expressCom = expressCom;
        }

        public String getExpressNO() {
            return expressNO;
        }

        public void setExpressNO(String expressNO) {
            this.expressNO = expressNO;
        }
    }

}
